package com.mayflygeek.mayflyask.service;

import java.util.List;

import com.mayflygeek.mayflyask.entity.Role;
/**
 * @author 蝈蝈 
 * @email guodefu909@126.com
 * @team 蜉蝣极客
 * @link www.mayflygeek.com
 */
public interface RoleService {
	
	void saveRole(Role role);
	
	void deleteRole(Long id);
	
	void deleteRole(Role role);
	
	void deleteRoles(List<Role> roles);
	
	Role updateRole(Role role);
	
	Role updateRoleStatus(Long id,Integer status);
	
	Role getRole(Long id);
	
	Role getByRoleName(String roleName);

	List<Role> getAllRole();

}
